package cn.stylefeng.guns.modular.cb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 教育经历
 * </p>
 *
 * @author wj
 * @since 2021-01-06
 */
@TableName("cb_education")
public class CbEducation implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;


    /**
     * 人员id
     */
    @TableField("person_id")
      private Long personId;

    /**
     * 学校编号
     */
    @TableField("school_no")
    private String schoolNo;

    /**
     * 学校名称
     */
    @TableField("school_name")
    private String schoolName;

    /**
     * 专业编号
     */
    @TableField("professional_no")
    private String professionalNo;

    /**
     * 专业名称
     */
    @TableField("professional_name")
    private String professionalName;

    /**
     * 专业细分
     */
    @TableField("professional_detail")
    private String professionalDetail;

    /**
     * 学历
     */
    @TableField("schooling")
    private String schooling;

    @TableField("code")
    private Integer code;

    /**
     * 学号
     */
    @TableField("studentId")
    private String studentId;

    /**
     * 年级
     */
    @TableField("grade")
    private String grade;

    /**
     * 状态 0：在校生 1应届生
     */
    @TableField("states")
    private String states;

    /**
     * 创建时间
     */
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
      @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 更新时间
     */
      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 更新人
     */
      @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    public String getStates() {
        return states;
    }

    public void setStates(String states) {
        this.states = states;
    }

    public Long getPersonId() {
        return personId;
    }

    public void setPersonId(Long personId) {
        this.personId = personId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSchoolNo() {
        return schoolNo;
    }

    public void setSchoolNo(String schoolNo) {
        this.schoolNo = schoolNo;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getProfessionalNo() {
        return professionalNo;
    }

    public void setProfessionalNo(String professionalNo) {
        this.professionalNo = professionalNo;
    }

    public String getProfessionalName() {
        return professionalName;
    }

    public void setProfessionalName(String professionalName) {
        this.professionalName = professionalName;
    }

    public String getProfessionalDetail() {
        return professionalDetail;
    }

    public void setProfessionalDetail(String professionalDetail) {
        this.professionalDetail = professionalDetail;
    }

    public String getSchooling() {
        return schooling;
    }

    public void setSchooling(String schooling) {
        this.schooling = schooling;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "CbEducation{" +
                "id=" + id +
                ", personId=" + personId +
                ", schoolNo='" + schoolNo + '\'' +
                ", schoolName='" + schoolName + '\'' +
                ", professionalNo='" + professionalNo + '\'' +
                ", professionalName='" + professionalName + '\'' +
                ", professionalDetail='" + professionalDetail + '\'' +
                ", schooling='" + schooling + '\'' +
                ", code=" + code +
                ", studentId='" + studentId + '\'' +
                ", grade='" + grade + '\'' +
                ", states='" + states + '\'' +
                ", createTime=" + createTime +
                ", createUser=" + createUser +
                ", updateTime=" + updateTime +
                ", updateUser=" + updateUser +
                ", version=" + version +
                '}';
    }
}
